package com.wtwd.device.service;


import com.wtwd.device.model.entity.TempRecord;
import com.wtwd.device.model.vo.RespEntity;

import java.util.List;

/**
 * @author mjy
 * @date 2021/09/07
 * @description
 */
public interface TempRecordService {
    RespEntity getDaysTempRecordList(Long deviceId, String startTime, String endTime);

    RespEntity<List<TempRecord>> getMonthTempRecordList(Long deviceId, String month);

    RespEntity addTempRecord(TempRecord tempRecord);

    Integer clearTempRecordByDate(String date);

    Integer deleteTempRecordByDeviceId(Long id);
}
